//app.js
App({
  onLaunch: function () {
    let that = this
    wx.getSystemInfo({
      success: function (res) {
        that.globalData.screenWidth = res.screenWidth;
        that.globalData.isIphone = res.model.search('iPhone') != -1 ? true : false;
        that.globalData.isIphoneX = res.model.search('iPhone X') != -1 ? true : false;
      },
    })
    

  },
  globalData: {
    userInfo: null,
    wxshouquan: false
  }
})